package cn.action;

import cn.base.BaseAction;
import cn.domain.Privilege;
import cn.service.PrivilegeService;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;
import com.opensymphony.xwork2.util.ValueStack;
import javafx.application.Application;
import org.hibernate.Session;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;

/**
 * Created by Administrator on 2017/3/27 0027.
 */
@Controller
@Scope("prototype")
public class index extends ActionSupport {
    private PrivilegeAction privilegeAction=new PrivilegeAction();
    /**
     * 头边框
     *
     * @return top()
     */
    public String top() {

        return "top";
    }

    /**
     * 中间左边框
     *
     * @return
     */
    public String left() {

        return "left";
    }

    /**
     * 中间右边框
     *
     * @return right()
     */
    public String right() {
        return "right";
    }

    /**
     * 下边框
     *
     * @return bottom()
     */
    public String bottom() {
        return "bottom";
    }

}
